package pattern.structural.bridge;

/**
 * @author: chaoyang.ren  
 * @date:Jul 5, 2017  
 * @time:3:28:29 PM   
 * @email:chaoyang.ren@foxmail.com  
 * @version: 1.0
 */
public abstract class Bridge {  
    private Sourceable source;  
  
    public void method(){  
        source.method();  
    }  
      
    public Sourceable getSource() {  
        return source;  
    }  
  
    public void setSource(Sourceable source) {  
        this.source = source;  
    }  
}

